package com.ccys.db.vo.app.deliveryAddress;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author：XLY
 * @Date：2024/1/26 0026
 */

@Data
public class GetDeliveryAddressInfoVo {

    @JsonProperty("total_page")
    private Integer totalPage;

    @JsonProperty("delivery_address")
    private List<DeliveryAddressVo> deliveryAddress;

    @Data
    public static class DeliveryAddressVo{
        @JsonProperty("id")
        private String id;

        @JsonProperty("mem_delivery_address_id")
        private String memDeliveryAddressId;

        @JsonProperty("postal_code")
        private String postalCode;

        @JsonProperty("address")
        private String address;

        @JsonProperty("floor_number")
        private String floorNumber;

        @JsonProperty("latitude")
        private String latitude;

        @JsonProperty("longitude")
        private String longitude;

        @JsonProperty("is_default")
        private String isDefault;


        @JsonIgnore
        private Long createdOnUtc;

        @JsonProperty("created_on")
        private String createdOn;

        @JsonProperty("country_id")
        private String countryId;

        @JsonProperty("state")
        private String state;

        @JsonProperty("detail_address")
        private String detailAddress;

        @JsonProperty("can_deliver")
        private String canDeliver;

        @JsonProperty("tier_1")
        private String tier1;

        @JsonProperty("tier_2")
        private String tier2;

        @JsonProperty("tier_3")
        private String tier3;

        @JsonProperty("tier_1_detail")
        private String tier1Detail;

        @JsonProperty("tier_2_detail")
        private String tier2Detail;

        @JsonProperty("tier_3_detail")
        private String tier3Detail;

        @JsonProperty("delivery_time_text")
        private String deliveryTimeText;

        @JsonProperty("delivery_instructions")
        private String deliveryInstructions;

        @JsonProperty("out_of_delivery_description")
        private String outOfDeliveryDescription;

    }
}
